package cn.jeeweb.web.modules.master.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.jeeweb.common.mvc.entity.DataEntity;
import cn.xjzn.framework_Core.ControlType;
import cn.xjzn.framework_Core.ModuleServe;
import cn.xjzn.framework_Core.StaticControl;
import com.baomidou.mybatisplus.annotations.TableField;

/**
 * Created by zll on 2019/11/6.
 */
public class MasterPipeStandard extends DataEntity<String> implements ObjectMark {

    @TableField(value = "pipeDiameter")
    @Excel(name = "接口规格", orderNum = "0", width = 30.0D)
    @UiPropertyField(moduleId = ModuleServe.pipeStandardModule,propertyName = "pipeDiameter",labelText="接口规格",displayPosition = 2,controlType = ControlType.DICTSELECTCONTROL,dictCode = "pipeDiameter")
    private String pipeDiameter;
    @TableField(value = "pipeStandard")
    @Excel(name = "级别", orderNum = "0", width = 30.0D)
    @UiPropertyField(moduleId = ModuleServe.pipeStandardModule,propertyName = "pipeStandard",labelText="级别",displayPosition = 3,controlType = ControlType.DICTSELECTCONTROL,dictCode = "pipeStandard")
    private String pipeStandard;
    @TableField(value = "weight")
    @Excel(name = "标准重量", orderNum = "0", width = 30.0D)
    @UiPropertyField(moduleId = ModuleServe.pipeStandardModule,propertyName = "weight",labelText="标准重量",staticControl = StaticControl.POSITIVEREALNUMBERSTATICCONTROL,displayPosition = 4)
    private Double weight;
    @TableField(value = "serialNumber")
    @Excel(name = "序号", orderNum = "0", width = 30.0D)
    @UiPropertyField(moduleId = ModuleServe.pipeStandardModule,propertyName = "serialNumber",labelText="序号",staticControl = StaticControl.POSITIVEREALNUMBERSTATICCONTROL,displayPosition = 5)
    private Double serialNumber;

    public String getPipeDiameter() {
        return pipeDiameter;
    }

    public void setPipeDiameter(String pipeDiameter) {
        this.pipeDiameter = pipeDiameter;
    }

    public String getPipeStandard() {
        return pipeStandard;
    }

    public void setPipeStandard(String pipeStandard) {
        this.pipeStandard = pipeStandard;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public double getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(double serialNumber) {
        this.serialNumber = serialNumber;
    }
}
